// 初始化样式
* {
    margin: 0;
    padding: 0;
}

li,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    width: 100vw;
    margin: 0 auto;
    background-color: #f6f7f8;
}

// 第一部分：nav导航栏
.nav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    height: 12vw;
    background-color: #019fe6;
    z-index: 999;

    .left {
        position: relative;
        width: 40vw;
        height: 12vw;
        font: normal normal 4.8vw/13.5vw "Microsoft YaHei";
        text-indent: 10vw;
        color: #fff;

        &::before {
            content: "";
            position: absolute;
            top: 4vw;
            left: 2vw;
            width: 6vw;
            height: 6vw;
            background: url(../images/首页icon.png) no-repeat center;
            background-size: contain;
        }
    }

    .right {
        position: absolute;
        top: 2vw;
        right: 5vw;
        width: 24vw;
        height: 8vw;
        border-radius: 4vw;
        background-color: rgba(0, 0, 0, .15);
        font: normal normal 3vw/8vw "Microsoft YaHei";
        text-align: center;
        color: #ddd;

        &::before {
            content: "";
            position: absolute;
            top: 1.5vw;
            left: 3vw;
            width: 5vw;
            height: 5vw;
            background: url(../images/更多icon.png) no-repeat center;
            background-size: contain;
        }

        &::after {
            content: "";
            position: absolute;
            top: 2vw;
            right: 4vw;
            width: 4vw;
            height: 4vw;
            background: url(../images/关闭icon.png) no-repeat center;
            background-size: contain;
        }
    }
}

// 第四部分：主体部分 
.main {
    width: 100vw;
    margin: 13vw auto 10vw;

    .title {
        position: relative;
        width: 100vw;
        height: 12vw;
        margin: 3vw auto;
        background-color: #fff;
        font: normal normal 5vw/12vw "Microsoft YaHei";
        text-indent: 5vw;
        color: #666;

        &::before {
            content: "ZXS102022000001";
            position: absolute;
            top: 0vw;
            left: 25vw;
            text-indent: 0vw;
            text-align: center;
            color: #333;
        }

        &::after {
            content: "补货日志";
            position: absolute;
            top: 2vw;
            right: 5vw;
            width: 20vw;
            height: 8vw;
            border-radius: 1vw;
            background-color: #1abaa0;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 0vw;
            text-align: center;
            color: #fff;
        }
    }

    .part {
        margin: 0 auto 20vw;

        .template1 {
            width: 100vw;
            margin: 3vw auto;
            background-color: #fff;

            .info {
                display: flex;
                width: 100vw;
                height: 30vw;
                overflow: hidden;
                border-bottom: 0.2vw solid #ccc;

                .left {
                    position: relative;
                    width: 25vw;
                    height: 25vw;
                    margin: 5vw 0vw 0vw 5vw;
                    background: url(../images/商品1.jpg)no-repeat center;
                    background-size: contain;

                }

                .right {
                    width: 70vw;
                    height: 30vw;

                    .name {
                        position: relative;
                        width: 70vw;
                        height: 15vw;
                        font: normal bold 4.6vw/15vw "Microsoft YaHei";
                        text-align: center;
                        color: #333;

                        &::after {
                            content: "1";
                            position: absolute;
                            top: 4.5vw;
                            left: 4vw;
                            width: 6vw;
                            height: 6vw;
                            border-radius: 3vw;
                            background-color: #019fe6;
                            font: normal normal 4vw/6vw "Microsoft YaHei";
                            text-indent: 0vw;
                            text-align: center;
                            color: #fff;
                        }
                    }

                    .price1 {
                        display: none;
                        position: relative;
                        width: 56vw;
                        height: 7vw;
                        font: normal normal 4vw/7vw "Microsoft YaHei";
                        text-indent: 5vw;
                        color: #666;

                        &::after {
                            content: "2.00";
                            position: absolute;
                            top: 0;
                            right: -5vw;
                        }
                    }

                    .price2 {
                        display: none;
                        position: relative;
                        width: 56vw;
                        height: 7vw;
                        font: normal bold 4vw/7vw "Microsoft YaHei";
                        text-indent: 5vw;
                        color: #ce5654;

                        &::after {
                            content: "2.00";
                            position: absolute;
                            top: 0;
                            right: -5vw;
                        }
                    }

                    .state {
                        position: relative;
                        width: 56vw;
                        height: 12vw;
                        font: normal bold 4vw/12vw "Microsoft YaHei";
                        text-indent: 5vw;
                        color: #666;

                        &::after {
                            content: "有货";
                            position: absolute;
                            top: 0;
                            right: -5vw;
                            color: #000;
                        }
                    }
                }
            }

            .btn {
                display: flex;
                justify-content: space-around;
                width: 100vw;
                height: 10vw;
                background-color: #fff;

                .btn1 {
                    width: 21vw;
                    height: 7vw;
                    margin: 1.5vw auto;
                    border-radius: 2vw;
                    background-color: #409eff;
                    font: normal normal 3.8vw/7vw "Microsoft YaHei";
                    text-align: center;
                    color: #fff;
                }

                .btn2 {
                    width: 21vw;
                    height: 7vw;
                    margin: 1.5vw auto;
                    border-radius: 2vw;
                    background-color: #909399;
                    font: normal normal 3.8vw/7vw "Microsoft YaHei";
                    text-align: center;
                    color: #fff;
                }
            }
        }

        .template2 {
            width: 100vw;
            margin: 3vw auto;
            background-color: #fff;

            .info {
                display: flex;
                width: 100vw;
                height: 30vw;
                overflow: hidden;
                border-bottom: 0.2vw solid #ccc;

                .left {
                    position: relative;
                    width: 25vw;
                    height: 25vw;
                    margin: 5vw 0vw 0vw 5vw;
                    background: url(../images/商品2.jpg)no-repeat center;
                    background-size: contain;

                }

                .right {
                    width: 70vw;
                    height: 30vw;

                    .name {
                        position: relative;
                        width: 70vw;
                        height: 15vw;
                        font: normal bold 4.6vw/15vw "Microsoft YaHei";
                        text-align: center;
                        color: #333;

                        &::after {
                            content: "2";
                            position: absolute;
                            top: 4.5vw;
                            left: 4vw;
                            width: 6vw;
                            height: 6vw;
                            border-radius: 3vw;
                            background-color: #019fe6;
                            font: normal normal 4vw/6vw "Microsoft YaHei";
                            text-indent: 0vw;
                            text-align: center;
                            color: #fff;
                        }
                    }

                    .state {
                        position: relative;
                        width: 56vw;
                        height: 12vw;
                        font: normal bold 4vw/12vw "Microsoft YaHei";
                        text-indent: 5vw;
                        color: #666;

                        &::after {
                            content: "有货";
                            position: absolute;
                            top: 0;
                            right: -5vw;
                            color: #000;
                        }
                    }
                }
            }

            .btn {
                display: flex;
                justify-content: space-around;
                width: 100vw;
                height: 10vw;
                background-color: #fff;

                .btn1 {
                    width: 21vw;
                    height: 7vw;
                    margin: 1.5vw auto;
                    border-radius: 2vw;
                    background-color: #409eff;
                    font: normal normal 3.8vw/7vw "Microsoft YaHei";
                    text-align: center;
                    color: #fff;
                }

                .btn2 {
                    width: 21vw;
                    height: 7vw;
                    margin: 1.5vw auto;
                    border-radius: 2vw;
                    background-color: #ff3333;
                    font: normal normal 3.8vw/7vw "Microsoft YaHei";
                    text-align: center;
                    color: #fff;
                }
            }
        }

        .template3 {
            width: 100vw;
            margin: 3vw auto;
            background-color: #fff;

            .info {
                display: flex;
                width: 100vw;
                height: 30vw;
                overflow: hidden;
                border-bottom: 0.2vw solid #ccc;

                .left {
                    position: relative;
                    width: 25vw;
                    height: 25vw;
                    margin: 5vw 0vw 0vw 5vw;
                    background: url(../images/商品3.jpg)no-repeat center;
                    background-size: contain;

                }

                .right {
                    width: 70vw;
                    height: 30vw;

                    .name {
                        position: relative;
                        width: 70vw;
                        height: 15vw;
                        font: normal bold 4.6vw/15vw "Microsoft YaHei";
                        text-align: center;
                        color: #333;

                        &::after {
                            content: "3";
                            position: absolute;
                            top: 4.5vw;
                            left: 4vw;
                            width: 6vw;
                            height: 6vw;
                            border-radius: 3vw;
                            background-color: #019fe6;
                            font: normal normal 4vw/6vw "Microsoft YaHei";
                            text-indent: 0vw;
                            text-align: center;
                            color: #fff;
                        }
                    }

                    .state {
                        position: relative;
                        width: 56vw;
                        height: 12vw;
                        font: normal bold 4vw/12vw "Microsoft YaHei";
                        text-indent: 5vw;
                        color: #666;

                        &::after {
                            content: "有货";
                            position: absolute;
                            top: 0;
                            right: -5vw;
                            color: #000;
                        }
                    }
                }
            }

            .btn {
                display: flex;
                justify-content: space-around;
                width: 100vw;
                height: 10vw;
                background-color: #fff;

                .btn1 {
                    width: 21vw;
                    height: 7vw;
                    margin: 1.5vw auto;
                    border-radius: 2vw;
                    background-color: #409eff;
                    font: normal normal 3.8vw/7vw "Microsoft YaHei";
                    text-align: center;
                    color: #fff;
                }

                .btn2 {
                    width: 21vw;
                    height: 7vw;
                    margin: 1.5vw auto;
                    border-radius: 2vw;
                    background-color: #ff3333;
                    font: normal normal 3.8vw/7vw "Microsoft YaHei";
                    text-align: center;
                    color: #fff;
                }
            }
        }

        .template4 {
            width: 100vw;
            margin: 3vw auto;
            background-color: #fff;

            .info {
                display: flex;
                width: 100vw;
                height: 30vw;
                overflow: hidden;
                border-bottom: 0.2vw solid #ccc;

                .left {
                    position: relative;
                    width: 25vw;
                    height: 25vw;
                    margin: 5vw 0vw 0vw 5vw;
                    background: url(../images/商品4.jpg)no-repeat center;
                    background-size: contain;

                }

                .right {
                    width: 70vw;
                    height: 30vw;

                    .name {
                        position: relative;
                        width: 70vw;
                        height: 15vw;
                        font: normal bold 4.6vw/15vw "Microsoft YaHei";
                        text-align: center;
                        color: #333;

                        &::after {
                            content: "4";
                            position: absolute;
                            top: 4.5vw;
                            left: 4vw;
                            width: 6vw;
                            height: 6vw;
                            border-radius: 3vw;
                            background-color: #019fe6;
                            font: normal normal 4vw/6vw "Microsoft YaHei";
                            text-indent: 0vw;
                            text-align: center;
                            color: #fff;
                        }
                    }

                    .price1 {
                        display: none;
                        position: relative;
                        width: 56vw;
                        height: 7vw;
                        font: normal normal 4vw/7vw "Microsoft YaHei";
                        text-indent: 5vw;
                        color: #666;

                        &::after {
                            content: "2.00";
                            position: absolute;
                            top: 0;
                            right: -5vw;
                        }
                    }

                    .price2 {
                        display: none;
                        position: relative;
                        width: 56vw;
                        height: 7vw;
                        font: normal bold 4vw/7vw "Microsoft YaHei";
                        text-indent: 5vw;
                        color: #ce5654;

                        &::after {
                            content: "2.00";
                            position: absolute;
                            top: 0;
                            right: -5vw;
                        }
                    }

                    .state {
                        position: relative;
                        width: 56vw;
                        height: 12vw;
                        font: normal bold 4vw/12vw "Microsoft YaHei";
                        text-indent: 5vw;
                        color: #666;

                        &::after {
                            content: "有货";
                            position: absolute;
                            top: 0;
                            right: -5vw;
                            color: #000;
                        }
                    }
                }
            }

            .btn {
                display: flex;
                justify-content: space-around;
                width: 100vw;
                height: 10vw;
                background-color: #fff;

                .btn1 {
                    width: 21vw;
                    height: 7vw;
                    margin: 1.5vw auto;
                    border-radius: 2vw;
                    background-color: #409eff;
                    font: normal normal 3.8vw/7vw "Microsoft YaHei";
                    text-align: center;
                    color: #fff;
                }

                .btn2 {
                    width: 21vw;
                    height: 7vw;
                    margin: 1.5vw auto;
                    border-radius: 2vw;
                    background-color: #ff3333;
                    font: normal normal 3.8vw/7vw "Microsoft YaHei";
                    text-align: center;
                    color: #fff;
                }
            }
        }

        .template5 {
            width: 100vw;
            margin: 3vw auto;
            background-color: #fff;

            .info {
                display: flex;
                width: 100vw;
                height: 30vw;
                overflow: hidden;
                border-bottom: 0.2vw solid #ccc;

                .left {
                    position: relative;
                    width: 25vw;
                    height: 25vw;
                    margin: 5vw 0vw 0vw 5vw;
                    background: url(../images/商品5.jpg)no-repeat center;
                    background-size: contain;

                }

                .right {
                    width: 70vw;
                    height: 30vw;

                    .name {
                        position: relative;
                        width: 70vw;
                        height: 15vw;
                        font: normal bold 4.6vw/15vw "Microsoft YaHei";
                        text-align: center;
                        color: #333;

                        &::after {
                            content: "5";
                            position: absolute;
                            top: 4.5vw;
                            left: 4vw;
                            width: 6vw;
                            height: 6vw;
                            border-radius: 3vw;
                            background-color: #019fe6;
                            font: normal normal 4vw/6vw "Microsoft YaHei";
                            text-indent: 0vw;
                            text-align: center;
                            color: #fff;
                        }
                    }

                    .state {
                        position: relative;
                        width: 56vw;
                        height: 12vw;
                        font: normal bold 4vw/12vw "Microsoft YaHei";
                        text-indent: 5vw;
                        color: #666;

                        &::after {
                            content: "缺货";
                            position: absolute;
                            top: 0;
                            right: -5vw;
                            color: #000;
                        }
                    }
                }
            }

            .btn {
                display: flex;
                justify-content: space-around;
                width: 100vw;
                height: 10vw;
                background-color: #fff;

                .btn1 {
                    width: 21vw;
                    height: 7vw;
                    margin: 1.5vw auto;
                    border-radius: 2vw;
                    background-color: #409eff;
                    font: normal normal 3.8vw/7vw "Microsoft YaHei";
                    text-align: center;
                    color: #fff;
                }

                .btn2 {
                    width: 21vw;
                    height: 7vw;
                    margin: 1.5vw auto;
                    border-radius: 2vw;
                    background-color: #ff3333;
                    font: normal normal 3.8vw/7vw "Microsoft YaHei";
                    text-align: center;
                    color: #fff;
                }
            }
        }
    }
}

// 底部--模块
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    width: 100vw;
    height: 13.5vw;
    border-top: 0.5vw solid #ccc;
    background-color: #ffff;

    .li1 {
        width: 49.8vw;
        height: 15vw;
        border-right: 0.2vw solid #ccc;
        font: normal bold 5vw/13.5vw "Microsoft YaHei";
        text-align: center;
        color: #e6a23c;
    }

    .li2 {
        width: 49.8vw;
        height: 15vw;
        border-left: 0.2vw solid #ccc;
        font: normal bold 5vw/13.5vw "Microsoft YaHei";
        text-align: center;
        color: #f56c6c;
    }
}